﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace nelech.Models.DBModel
{
    [MetadataType(typeof(MarqueeMetaData))]
    public partial class Product
    {
        // Validation rules for the Album class 

        public class MarqueeMetaData
        {


            [Required(ErrorMessage = "חובה למלא כותרת")]
            [StringLength(160)]
            [DisplayFormat(ConvertEmptyStringToNull = true)]
            public object title { get; set; }

           
        }
    }
}
